
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ftp</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>ftp</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/cygdrive/d/[code]/iris-ftp/ftp.py">/cygdrive/d/[code]/iris-ftp/ftp.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="paramiko.html">paramiko</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
</td><td width="25%" valign=top><a href="time.html">time</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="ftp.html#IrisFTPException">IrisFTPException</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="ftp.html#ConnectionException">ConnectionException</a>
</font></dt><dt><font face="helvetica, arial"><a href="ftp.html#FileExistsException">FileExistsException</a>
</font></dt><dt><font face="helvetica, arial"><a href="ftp.html#NoConnectionException">NoConnectionException</a>
</font></dt><dt><font face="helvetica, arial"><a href="ftp.html#NoFileException">NoFileException</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="ftp.html#IrisSFTP">IrisSFTP</a>
</font></dt><dt><font face="helvetica, arial"><a href="ftplib.html#FTP">ftplib.FTP</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="ftp.html#IrisFTP">IrisFTP</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ConnectionException">class <strong>ConnectionException</strong></a>(<a href="ftp.html#IrisFTPException">IrisFTPException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Connection&nbsp;error.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="ftp.html#ConnectionException">ConnectionException</a></dd>
<dd><a href="ftp.html#IrisFTPException">IrisFTPException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ConnectionException-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<hr>
Methods inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><a name="ConnectionException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#ConnectionException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="ConnectionException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ConnectionException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="ConnectionException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ConnectionException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="ConnectionException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#ConnectionException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="ConnectionException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="ConnectionException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ConnectionException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="ConnectionException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ConnectionException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="ConnectionException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="FileExistsException">class <strong>FileExistsException</strong></a>(<a href="ftp.html#IrisFTPException">IrisFTPException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>File&nbsp;allready&nbsp;existing.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="ftp.html#FileExistsException">FileExistsException</a></dd>
<dd><a href="ftp.html#IrisFTPException">IrisFTPException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FileExistsException-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<hr>
Methods inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><a name="FileExistsException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#FileExistsException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="FileExistsException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#FileExistsException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="FileExistsException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#FileExistsException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="FileExistsException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#FileExistsException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="FileExistsException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="FileExistsException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#FileExistsException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="FileExistsException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#FileExistsException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="FileExistsException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="IrisFTP">class <strong>IrisFTP</strong></a>(<a href="ftplib.html#FTP">ftplib.FTP</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Extension&nbsp;of&nbsp;the&nbsp;default&nbsp;<a href="ftplib.html#FTP">FTP</a>&nbsp;class.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="IrisFTP-__init__"><strong>__init__</strong></a>(self, host<font color="#909090">=None</font>, username<font color="#909090">=None</font>, password<font color="#909090">=None</font>, verbose<font color="#909090">=False</font>)</dt><dd><tt><a href="#IrisFTP">IrisFTP</a>&nbsp;constructor.<br>
&nbsp;<br>
Arguments:<br>
host&nbsp;--&nbsp;host&nbsp;adress<br>
user&nbsp;--&nbsp;username,&nbsp;password&nbsp;tuple<br>
verbose&nbsp;--&nbsp;enter&nbsp;verbose&nbsp;mode&nbsp;when&nbsp;True</tt></dd></dl>

<dl><dt><a name="IrisFTP-connect"><strong>connect</strong></a>(self)</dt><dd><tt>Connect&nbsp;to&nbsp;<a href="ftplib.html#FTP">FTP</a>&nbsp;server&nbsp;using&nbsp;current&nbsp;settings.<br>
&nbsp;<br>
Returns:<br>
Welcome&nbsp;message&nbsp;of&nbsp;the&nbsp;server</tt></dd></dl>

<dl><dt><a name="IrisFTP-cwd"><strong>cwd</strong></a>(self, dir)</dt><dd><tt>Change&nbsp;working&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="IrisFTP-delete"><strong>delete</strong></a>(self, remotefile)</dt><dd><tt>Delete&nbsp;remotefile.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;file&nbsp;on&nbsp;the&nbsp;server&nbsp;to&nbsp;remove</tt></dd></dl>

<dl><dt><a name="IrisFTP-dir"><strong>dir</strong></a>(self, path<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;directory&nbsp;listing.<br>
&nbsp;<br>
Arguments:<br>
path&nbsp;--&nbsp;path&nbsp;to&nbsp;list,&nbsp;default=current&nbsp;dir</tt></dd></dl>

<dl><dt><a name="IrisFTP-disconnect"><strong>disconnect</strong></a>(self)</dt><dd><tt>Disconnect&nbsp;from&nbsp;the&nbsp;<a href="ftplib.html#FTP">FTP</a>&nbsp;server.</tt></dd></dl>

<dl><dt><a name="IrisFTP-exists"><strong>exists</strong></a>(self, path)</dt><dd><tt>Check&nbsp;if&nbsp;path&nbsp;exists.<br>
&nbsp;<br>
Arguments:<br>
path&nbsp;--&nbsp;path&nbsp;to&nbsp;check&nbsp;existence&nbsp;for</tt></dd></dl>

<dl><dt><a name="IrisFTP-get"><strong>get</strong></a>(self, remotefile, localfile<font color="#909090">=None</font>, force<font color="#909090">=False</font>)</dt><dd><tt>Download&nbsp;file&nbsp;from&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;path&nbsp;to&nbsp;remotefile<br>
localfile&nbsp;--&nbsp;local&nbsp;storage,&nbsp;default&nbsp;is&nbsp;same&nbsp;basename&nbsp;as&nbsp;remotefile<br>
force&nbsp;--&nbsp;force&nbsp;overwrite&nbsp;of&nbsp;localfile,&nbsp;default&nbsp;is&nbsp;False</tt></dd></dl>

<dl><dt><a name="IrisFTP-getdir"><strong>getdir</strong></a>(self, remotedir, localdir<font color="#909090">=None</font>, force<font color="#909090">=False</font>, recursive<font color="#909090">=False</font>)</dt><dd><tt>Download&nbsp;remote&nbsp;directory,&nbsp;recursivly&nbsp;if&nbsp;specified.<br>
&nbsp;<br>
Arguments:<br>
remotedir&nbsp;--&nbsp;remotedir&nbsp;to&nbsp;download<br>
localdir&nbsp;--&nbsp;local&nbsp;path&nbsp;to&nbsp;store&nbsp;files<br>
force&nbsp;--&nbsp;overwrite&nbsp;local&nbsp;files(True/False)<br>
recursive&nbsp;--&nbsp;recursive&nbsp;download(True/False)</tt></dd></dl>

<dl><dt><a name="IrisFTP-put"><strong>put</strong></a>(self, localfile, remotefile<font color="#909090">=None</font>, force<font color="#909090">=False</font>)</dt><dd><tt>Upload&nbsp;file&nbsp;to&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Arguments:<br>
localfile&nbsp;--&nbsp;path&nbsp;to&nbsp;localfile<br>
remotefile&nbsp;--&nbsp;remote&nbsp;storage,&nbsp;default&nbsp;is&nbsp;same&nbsp;basename&nbsp;as&nbsp;localfile<br>
force&nbsp;--&nbsp;force&nbsp;overwrite&nbsp;of&nbsp;remotefile,&nbsp;default&nbsp;is&nbsp;False</tt></dd></dl>

<dl><dt><a name="IrisFTP-putdir"><strong>putdir</strong></a>(self, localdir, remotedir<font color="#909090">=None</font>, force<font color="#909090">=False</font>, recursive<font color="#909090">=False</font>)</dt><dd><tt>Upload&nbsp;local&nbsp;directory,&nbsp;recursivly&nbsp;if&nbsp;specified.<br>
&nbsp;<br>
Arguments:<br>
localdir&nbsp;--&nbsp;local&nbsp;directory&nbsp;to&nbsp;upload<br>
remotedir&nbsp;--&nbsp;remote&nbsp;location&nbsp;to&nbsp;store&nbsp;files<br>
force&nbsp;--&nbsp;overwrite&nbsp;local&nbsp;files(True/False)<br>
recursive&nbsp;--&nbsp;recursive&nbsp;upload(True/False)</tt></dd></dl>

<dl><dt><a name="IrisFTP-rmdir"><strong>rmdir</strong></a>(self, remotedir)</dt><dd><tt>Recursively&nbsp;delte&nbsp;remote&nbsp;directory<br>
&nbsp;<br>
Arguments:<br>
remotedir&nbsp;--&nbsp;remote&nbsp;directory&nbsp;to&nbsp;remove</tt></dd></dl>

<dl><dt><a name="IrisFTP-size"><strong>size</strong></a>(self, remotefile)</dt><dd><tt>Get&nbsp;filesize&nbsp;of&nbsp;remotefile.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;file&nbsp;on&nbsp;the&nbsp;server&nbsp;to&nbsp;check&nbsp;size&nbsp;of</tt></dd></dl>

<dl><dt><a name="IrisFTP-time"><strong>time</strong></a>(self, remotefile)</dt><dd><tt>Get&nbsp;creation&nbsp;time&nbsp;of&nbsp;remotefile&nbsp;in&nbsp;seconds&nbsp;since&nbsp;Epoch.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;remotefile&nbsp;to&nbsp;get&nbsp;creation&nbsp;time&nbsp;of</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>COUNT</strong> = 1</dl>

<dl><dt><strong>DATE</strong> = 6</dl>

<dl><dt><strong>GROUP</strong> = 3</dl>

<dl><dt><strong>MODE</strong> = 0</dl>

<dl><dt><strong>MONTH</strong> = 5</dl>

<dl><dt><strong>NAME</strong> = 8</dl>

<dl><dt><strong>OWNER</strong> = 2</dl>

<dl><dt><strong>SIZE</strong> = 4</dl>

<dl><dt><strong>TIME</strong> = 7</dl>

<dl><dt><strong>connected</strong> = False</dl>

<dl><dt><strong>dirlist</strong> = []</dl>

<dl><dt><strong>host</strong> = None</dl>

<dl><dt><strong>password</strong> = None</dl>

<dl><dt><strong>port</strong> = 21</dl>

<dl><dt><strong>username</strong> = None</dl>

<dl><dt><strong>verbose</strong> = False</dl>

<dl><dt><strong>welcome</strong> = None</dl>

<hr>
Methods inherited from <a href="ftplib.html#FTP">ftplib.FTP</a>:<br>
<dl><dt><a name="IrisFTP-abort"><strong>abort</strong></a>(self)</dt><dd><tt>Abort&nbsp;a&nbsp;file&nbsp;transfer.&nbsp;&nbsp;Uses&nbsp;out-of-band&nbsp;data.<br>
This&nbsp;does&nbsp;not&nbsp;follow&nbsp;the&nbsp;procedure&nbsp;from&nbsp;the&nbsp;RFC&nbsp;to&nbsp;send&nbsp;Telnet<br>
IP&nbsp;and&nbsp;Synch;&nbsp;that&nbsp;doesn't&nbsp;seem&nbsp;to&nbsp;work&nbsp;with&nbsp;the&nbsp;servers&nbsp;I've<br>
tried.&nbsp;&nbsp;Instead,&nbsp;just&nbsp;send&nbsp;the&nbsp;ABOR&nbsp;command&nbsp;as&nbsp;OOB&nbsp;data.</tt></dd></dl>

<dl><dt><a name="IrisFTP-acct"><strong>acct</strong></a>(self, password)</dt><dd><tt>Send&nbsp;new&nbsp;account&nbsp;name.</tt></dd></dl>

<dl><dt><a name="IrisFTP-close"><strong>close</strong></a>(self)</dt><dd><tt>Close&nbsp;the&nbsp;connection&nbsp;without&nbsp;assuming&nbsp;anything&nbsp;about&nbsp;it.</tt></dd></dl>

<dl><dt><a name="IrisFTP-debug"><strong>debug</strong></a> = set_debuglevel(self, level)</dt><dd><tt>Set&nbsp;the&nbsp;debugging&nbsp;level.<br>
The&nbsp;required&nbsp;argument&nbsp;level&nbsp;means:<br>
0:&nbsp;no&nbsp;debugging&nbsp;output&nbsp;(default)<br>
1:&nbsp;print&nbsp;commands&nbsp;and&nbsp;responses&nbsp;but&nbsp;not&nbsp;body&nbsp;text&nbsp;etc.<br>
2:&nbsp;also&nbsp;print&nbsp;raw&nbsp;lines&nbsp;read&nbsp;and&nbsp;sent&nbsp;before&nbsp;stripping&nbsp;CR/LF</tt></dd></dl>

<dl><dt><a name="IrisFTP-getline"><strong>getline</strong></a>(self)</dt><dd><tt>#&nbsp;Internal:&nbsp;return&nbsp;one&nbsp;line&nbsp;from&nbsp;the&nbsp;server,&nbsp;stripping&nbsp;CRLF.<br>
#&nbsp;Raise&nbsp;EOFError&nbsp;if&nbsp;the&nbsp;connection&nbsp;is&nbsp;closed</tt></dd></dl>

<dl><dt><a name="IrisFTP-getmultiline"><strong>getmultiline</strong></a>(self)</dt><dd><tt>#&nbsp;Internal:&nbsp;get&nbsp;a&nbsp;response&nbsp;from&nbsp;the&nbsp;server,&nbsp;which&nbsp;may&nbsp;possibly<br>
#&nbsp;consist&nbsp;of&nbsp;multiple&nbsp;lines.&nbsp;&nbsp;Return&nbsp;a&nbsp;single&nbsp;string&nbsp;with&nbsp;no<br>
#&nbsp;trailing&nbsp;CRLF.&nbsp;&nbsp;If&nbsp;the&nbsp;response&nbsp;consists&nbsp;of&nbsp;multiple&nbsp;lines,<br>
#&nbsp;these&nbsp;are&nbsp;separated&nbsp;by&nbsp;'\n'&nbsp;characters&nbsp;in&nbsp;the&nbsp;string</tt></dd></dl>

<dl><dt><a name="IrisFTP-getresp"><strong>getresp</strong></a>(self)</dt><dd><tt>#&nbsp;Internal:&nbsp;get&nbsp;a&nbsp;response&nbsp;from&nbsp;the&nbsp;server.<br>
#&nbsp;Raise&nbsp;various&nbsp;errors&nbsp;if&nbsp;the&nbsp;response&nbsp;indicates&nbsp;an&nbsp;error</tt></dd></dl>

<dl><dt><a name="IrisFTP-getwelcome"><strong>getwelcome</strong></a>(self)</dt><dd><tt>Get&nbsp;the&nbsp;welcome&nbsp;message&nbsp;from&nbsp;the&nbsp;server.<br>
(this&nbsp;is&nbsp;read&nbsp;and&nbsp;squirreled&nbsp;away&nbsp;by&nbsp;<a href="#IrisFTP-connect">connect</a>())</tt></dd></dl>

<dl><dt><a name="IrisFTP-login"><strong>login</strong></a>(self, user<font color="#909090">=''</font>, passwd<font color="#909090">=''</font>, acct<font color="#909090">=''</font>)</dt><dd><tt>Login,&nbsp;default&nbsp;anonymous.</tt></dd></dl>

<dl><dt><a name="IrisFTP-makepasv"><strong>makepasv</strong></a>(self)</dt></dl>

<dl><dt><a name="IrisFTP-makeport"><strong>makeport</strong></a>(self)</dt><dd><tt>Create&nbsp;a&nbsp;new&nbsp;socket&nbsp;and&nbsp;send&nbsp;a&nbsp;PORT&nbsp;command&nbsp;for&nbsp;it.</tt></dd></dl>

<dl><dt><a name="IrisFTP-mkd"><strong>mkd</strong></a>(self, dirname)</dt><dd><tt>Make&nbsp;a&nbsp;directory,&nbsp;return&nbsp;its&nbsp;full&nbsp;pathname.</tt></dd></dl>

<dl><dt><a name="IrisFTP-nlst"><strong>nlst</strong></a>(self, *args)</dt><dd><tt>Return&nbsp;a&nbsp;list&nbsp;of&nbsp;files&nbsp;in&nbsp;a&nbsp;given&nbsp;directory&nbsp;(default&nbsp;the&nbsp;current).</tt></dd></dl>

<dl><dt><a name="IrisFTP-ntransfercmd"><strong>ntransfercmd</strong></a>(self, cmd, rest<font color="#909090">=None</font>)</dt><dd><tt>Initiate&nbsp;a&nbsp;transfer&nbsp;over&nbsp;the&nbsp;data&nbsp;connection.<br>
&nbsp;<br>
If&nbsp;the&nbsp;transfer&nbsp;is&nbsp;active,&nbsp;send&nbsp;a&nbsp;port&nbsp;command&nbsp;and&nbsp;the<br>
transfer&nbsp;command,&nbsp;and&nbsp;accept&nbsp;the&nbsp;connection.&nbsp;&nbsp;If&nbsp;the&nbsp;server&nbsp;is<br>
passive,&nbsp;send&nbsp;a&nbsp;pasv&nbsp;command,&nbsp;connect&nbsp;to&nbsp;it,&nbsp;and&nbsp;start&nbsp;the<br>
transfer&nbsp;command.&nbsp;&nbsp;Either&nbsp;way,&nbsp;return&nbsp;the&nbsp;socket&nbsp;for&nbsp;the<br>
connection&nbsp;and&nbsp;the&nbsp;expected&nbsp;size&nbsp;of&nbsp;the&nbsp;transfer.&nbsp;&nbsp;The<br>
expected&nbsp;size&nbsp;may&nbsp;be&nbsp;None&nbsp;if&nbsp;it&nbsp;could&nbsp;not&nbsp;be&nbsp;determined.<br>
&nbsp;<br>
Optional&nbsp;`rest'&nbsp;argument&nbsp;can&nbsp;be&nbsp;a&nbsp;string&nbsp;that&nbsp;is&nbsp;sent&nbsp;as&nbsp;the<br>
argument&nbsp;to&nbsp;a&nbsp;RESTART&nbsp;command.&nbsp;&nbsp;This&nbsp;is&nbsp;essentially&nbsp;a&nbsp;server<br>
marker&nbsp;used&nbsp;to&nbsp;tell&nbsp;the&nbsp;server&nbsp;to&nbsp;skip&nbsp;over&nbsp;any&nbsp;data&nbsp;up&nbsp;to&nbsp;the<br>
given&nbsp;marker.</tt></dd></dl>

<dl><dt><a name="IrisFTP-putcmd"><strong>putcmd</strong></a>(self, line)</dt><dd><tt>#&nbsp;Internal:&nbsp;send&nbsp;one&nbsp;command&nbsp;to&nbsp;the&nbsp;server&nbsp;(through&nbsp;<a href="#IrisFTP-putline">putline</a>())</tt></dd></dl>

<dl><dt><a name="IrisFTP-putline"><strong>putline</strong></a>(self, line)</dt><dd><tt>#&nbsp;Internal:&nbsp;send&nbsp;one&nbsp;line&nbsp;to&nbsp;the&nbsp;server,&nbsp;appending&nbsp;CRLF</tt></dd></dl>

<dl><dt><a name="IrisFTP-pwd"><strong>pwd</strong></a>(self)</dt><dd><tt>Return&nbsp;current&nbsp;working&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="IrisFTP-quit"><strong>quit</strong></a>(self)</dt><dd><tt>Quit,&nbsp;and&nbsp;close&nbsp;the&nbsp;connection.</tt></dd></dl>

<dl><dt><a name="IrisFTP-rename"><strong>rename</strong></a>(self, fromname, toname)</dt><dd><tt>Rename&nbsp;a&nbsp;file.</tt></dd></dl>

<dl><dt><a name="IrisFTP-retrbinary"><strong>retrbinary</strong></a>(self, cmd, callback, blocksize<font color="#909090">=8192</font>, rest<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;data&nbsp;in&nbsp;binary&nbsp;mode.<br>
&nbsp;<br>
`cmd'&nbsp;is&nbsp;a&nbsp;RETR&nbsp;command.&nbsp;&nbsp;`callback'&nbsp;is&nbsp;a&nbsp;callback&nbsp;function&nbsp;is<br>
called&nbsp;for&nbsp;each&nbsp;block.&nbsp;&nbsp;No&nbsp;more&nbsp;than&nbsp;`blocksize'&nbsp;number&nbsp;of<br>
bytes&nbsp;will&nbsp;be&nbsp;read&nbsp;from&nbsp;the&nbsp;socket.&nbsp;&nbsp;Optional&nbsp;`rest'&nbsp;is&nbsp;passed<br>
to&nbsp;<a href="#IrisFTP-transfercmd">transfercmd</a>().<br>
&nbsp;<br>
A&nbsp;new&nbsp;port&nbsp;is&nbsp;created&nbsp;for&nbsp;you.&nbsp;&nbsp;Return&nbsp;the&nbsp;response&nbsp;code.</tt></dd></dl>

<dl><dt><a name="IrisFTP-retrlines"><strong>retrlines</strong></a>(self, cmd, callback<font color="#909090">=None</font>)</dt><dd><tt>Retrieve&nbsp;data&nbsp;in&nbsp;line&nbsp;mode.<br>
The&nbsp;argument&nbsp;is&nbsp;a&nbsp;RETR&nbsp;or&nbsp;LIST&nbsp;command.<br>
The&nbsp;callback&nbsp;function&nbsp;(2nd&nbsp;argument)&nbsp;is&nbsp;called&nbsp;for&nbsp;each&nbsp;line,<br>
with&nbsp;trailing&nbsp;CRLF&nbsp;stripped.&nbsp;&nbsp;This&nbsp;creates&nbsp;a&nbsp;new&nbsp;port&nbsp;for&nbsp;you.<br>
print_line()&nbsp;is&nbsp;the&nbsp;default&nbsp;callback.</tt></dd></dl>

<dl><dt><a name="IrisFTP-rmd"><strong>rmd</strong></a>(self, dirname)</dt><dd><tt>Remove&nbsp;a&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="IrisFTP-sanitize"><strong>sanitize</strong></a>(self, s)</dt><dd><tt>#&nbsp;Internal:&nbsp;"sanitize"&nbsp;a&nbsp;string&nbsp;for&nbsp;printing</tt></dd></dl>

<dl><dt><a name="IrisFTP-sendcmd"><strong>sendcmd</strong></a>(self, cmd)</dt><dd><tt>Send&nbsp;a&nbsp;command&nbsp;and&nbsp;return&nbsp;the&nbsp;response.</tt></dd></dl>

<dl><dt><a name="IrisFTP-sendeprt"><strong>sendeprt</strong></a>(self, host, port)</dt><dd><tt>Send&nbsp;a&nbsp;EPRT&nbsp;command&nbsp;with&nbsp;the&nbsp;current&nbsp;host&nbsp;and&nbsp;the&nbsp;given&nbsp;port&nbsp;number.</tt></dd></dl>

<dl><dt><a name="IrisFTP-sendport"><strong>sendport</strong></a>(self, host, port)</dt><dd><tt>Send&nbsp;a&nbsp;PORT&nbsp;command&nbsp;with&nbsp;the&nbsp;current&nbsp;host&nbsp;and&nbsp;the&nbsp;given<br>
port&nbsp;number.</tt></dd></dl>

<dl><dt><a name="IrisFTP-set_debuglevel"><strong>set_debuglevel</strong></a>(self, level)</dt><dd><tt>Set&nbsp;the&nbsp;debugging&nbsp;level.<br>
The&nbsp;required&nbsp;argument&nbsp;level&nbsp;means:<br>
0:&nbsp;no&nbsp;debugging&nbsp;output&nbsp;(default)<br>
1:&nbsp;print&nbsp;commands&nbsp;and&nbsp;responses&nbsp;but&nbsp;not&nbsp;body&nbsp;text&nbsp;etc.<br>
2:&nbsp;also&nbsp;print&nbsp;raw&nbsp;lines&nbsp;read&nbsp;and&nbsp;sent&nbsp;before&nbsp;stripping&nbsp;CR/LF</tt></dd></dl>

<dl><dt><a name="IrisFTP-set_pasv"><strong>set_pasv</strong></a>(self, val)</dt><dd><tt>Use&nbsp;passive&nbsp;or&nbsp;active&nbsp;mode&nbsp;for&nbsp;data&nbsp;transfers.<br>
With&nbsp;a&nbsp;false&nbsp;argument,&nbsp;use&nbsp;the&nbsp;normal&nbsp;PORT&nbsp;mode,<br>
With&nbsp;a&nbsp;true&nbsp;argument,&nbsp;use&nbsp;the&nbsp;PASV&nbsp;command.</tt></dd></dl>

<dl><dt><a name="IrisFTP-storbinary"><strong>storbinary</strong></a>(self, cmd, fp, blocksize<font color="#909090">=8192</font>)</dt><dd><tt>Store&nbsp;a&nbsp;file&nbsp;in&nbsp;binary&nbsp;mode.</tt></dd></dl>

<dl><dt><a name="IrisFTP-storlines"><strong>storlines</strong></a>(self, cmd, fp)</dt><dd><tt>Store&nbsp;a&nbsp;file&nbsp;in&nbsp;line&nbsp;mode.</tt></dd></dl>

<dl><dt><a name="IrisFTP-transfercmd"><strong>transfercmd</strong></a>(self, cmd, rest<font color="#909090">=None</font>)</dt><dd><tt>Like&nbsp;<a href="#IrisFTP-ntransfercmd">ntransfercmd</a>()&nbsp;but&nbsp;returns&nbsp;only&nbsp;the&nbsp;socket.</tt></dd></dl>

<dl><dt><a name="IrisFTP-voidcmd"><strong>voidcmd</strong></a>(self, cmd)</dt><dd><tt>Send&nbsp;a&nbsp;command&nbsp;and&nbsp;expect&nbsp;a&nbsp;response&nbsp;beginning&nbsp;with&nbsp;'2'.</tt></dd></dl>

<dl><dt><a name="IrisFTP-voidresp"><strong>voidresp</strong></a>(self)</dt><dd><tt>Expect&nbsp;a&nbsp;response&nbsp;beginning&nbsp;with&nbsp;'2'.</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="ftplib.html#FTP">ftplib.FTP</a>:<br>
<dl><dt><strong>debugging</strong> = 0</dl>

<dl><dt><strong>file</strong> = None</dl>

<dl><dt><strong>passiveserver</strong> = 1</dl>

<dl><dt><strong>sock</strong> = None</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="IrisFTPException">class <strong>IrisFTPException</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Super&nbsp;class&nbsp;for&nbsp;IrisFTPExceptions<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="ftp.html#IrisFTPException">IrisFTPException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="IrisFTPException-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<dl><dt><a name="IrisFTPException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#IrisFTPException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="IrisFTPException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#IrisFTPException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="IrisFTPException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#IrisFTPException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="IrisFTPException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#IrisFTPException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="IrisFTPException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="IrisFTPException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#IrisFTPException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="IrisFTPException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#IrisFTPException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="IrisFTPException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="IrisSFTP">class <strong>IrisSFTP</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>SFTP&nbsp;class&nbsp;building&nbsp;on&nbsp;the&nbsp;paramiko&nbsp;SFTPClient&nbsp;class<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="IrisSFTP-__init__"><strong>__init__</strong></a>(self, host<font color="#909090">=None</font>, username<font color="#909090">=None</font>, password<font color="#909090">=None</font>, verbose<font color="#909090">=False</font>)</dt><dd><tt><a href="#IrisSFTP">IrisSFTP</a>&nbsp;constructor.<br>
&nbsp;<br>
Arguments:<br>
host&nbsp;--&nbsp;host&nbsp;adress<br>
user&nbsp;--&nbsp;username,&nbsp;password&nbsp;tuple<br>
verbose&nbsp;--&nbsp;enter&nbsp;verbose&nbsp;mode&nbsp;when&nbsp;True</tt></dd></dl>

<dl><dt><a name="IrisSFTP-connect"><strong>connect</strong></a>(self)</dt><dd><tt>Connect&nbsp;to&nbsp;<a href="ftplib.html#FTP">FTP</a>&nbsp;server&nbsp;using&nbsp;current&nbsp;settings.<br>
&nbsp;<br>
Returns:<br>
Welcome&nbsp;message&nbsp;of&nbsp;the&nbsp;server</tt></dd></dl>

<dl><dt><a name="IrisSFTP-cwd"><strong>cwd</strong></a>(self, dir)</dt><dd><tt>Change&nbsp;working&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="IrisSFTP-delete"><strong>delete</strong></a>(self, remotefile)</dt><dd><tt>Delete&nbsp;remotefile.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;file&nbsp;on&nbsp;the&nbsp;server&nbsp;to&nbsp;remove</tt></dd></dl>

<dl><dt><a name="IrisSFTP-dir"><strong>dir</strong></a>(self, path<font color="#909090">=None</font>)</dt><dd><tt>Return&nbsp;directory&nbsp;listing.<br>
&nbsp;<br>
Arguments:<br>
path&nbsp;--&nbsp;path&nbsp;to&nbsp;list,&nbsp;default=current&nbsp;dir</tt></dd></dl>

<dl><dt><a name="IrisSFTP-disconnect"><strong>disconnect</strong></a>(self)</dt><dd><tt>Disconnect&nbsp;from&nbsp;the&nbsp;<a href="ftplib.html#FTP">FTP</a>&nbsp;server.</tt></dd></dl>

<dl><dt><a name="IrisSFTP-exists"><strong>exists</strong></a>(self, path)</dt><dd><tt>Check&nbsp;if&nbsp;path&nbsp;exists.<br>
&nbsp;<br>
Arguments:<br>
path&nbsp;--&nbsp;path&nbsp;to&nbsp;check&nbsp;existence&nbsp;for</tt></dd></dl>

<dl><dt><a name="IrisSFTP-get"><strong>get</strong></a>(self, remotefile, localfile<font color="#909090">=None</font>, force<font color="#909090">=False</font>)</dt><dd><tt>Download&nbsp;file&nbsp;from&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;path&nbsp;to&nbsp;remotefile<br>
localfile&nbsp;--&nbsp;local&nbsp;storage,&nbsp;default&nbsp;is&nbsp;same&nbsp;basename&nbsp;as&nbsp;remotefile<br>
force&nbsp;--&nbsp;force&nbsp;overwrite&nbsp;of&nbsp;localfile,&nbsp;default&nbsp;is&nbsp;False</tt></dd></dl>

<dl><dt><a name="IrisSFTP-getdir"><strong>getdir</strong></a>(self, remotedir, localdir<font color="#909090">=None</font>, force<font color="#909090">=False</font>, recursive<font color="#909090">=False</font>)</dt><dd><tt>Download&nbsp;remote&nbsp;directory,&nbsp;recursivly&nbsp;if&nbsp;specified.<br>
&nbsp;<br>
Arguments:<br>
remotedir&nbsp;--&nbsp;remotedir&nbsp;to&nbsp;download<br>
localdir&nbsp;--&nbsp;local&nbsp;path&nbsp;to&nbsp;store&nbsp;files<br>
force&nbsp;--&nbsp;overwrite&nbsp;local&nbsp;files(True/False)<br>
recursive&nbsp;--&nbsp;recursive&nbsp;download(True/False)</tt></dd></dl>

<dl><dt><a name="IrisSFTP-put"><strong>put</strong></a>(self, localfile, remotefile<font color="#909090">=None</font>, force<font color="#909090">=False</font>)</dt><dd><tt>Upload&nbsp;file&nbsp;to&nbsp;remote&nbsp;server.<br>
&nbsp;<br>
Arguments:<br>
localfile&nbsp;--&nbsp;path&nbsp;to&nbsp;localfile<br>
remotefile&nbsp;--&nbsp;remote&nbsp;storage,&nbsp;default&nbsp;is&nbsp;same&nbsp;basename&nbsp;as&nbsp;localfile<br>
force&nbsp;--&nbsp;force&nbsp;overwrite&nbsp;of&nbsp;remotefile,&nbsp;default&nbsp;is&nbsp;False</tt></dd></dl>

<dl><dt><a name="IrisSFTP-putdir"><strong>putdir</strong></a>(self, localdir, remotedir<font color="#909090">=None</font>, force<font color="#909090">=False</font>, recursive<font color="#909090">=False</font>)</dt><dd><tt>Upload&nbsp;local&nbsp;directory,&nbsp;recursivly&nbsp;if&nbsp;specified.<br>
&nbsp;<br>
Arguments:<br>
localdir&nbsp;--&nbsp;local&nbsp;directory&nbsp;to&nbsp;upload<br>
remotedir&nbsp;--&nbsp;remote&nbsp;location&nbsp;to&nbsp;store&nbsp;files<br>
force&nbsp;--&nbsp;overwrite&nbsp;local&nbsp;files(True/False)<br>
recursive&nbsp;--&nbsp;recursive&nbsp;upload(True/False)</tt></dd></dl>

<dl><dt><a name="IrisSFTP-pwd"><strong>pwd</strong></a>(self)</dt><dd><tt>Print&nbsp;working&nbsp;dirctory.</tt></dd></dl>

<dl><dt><a name="IrisSFTP-rmdir"><strong>rmdir</strong></a>(self, remotedir)</dt><dd><tt>Recursively&nbsp;delte&nbsp;remote&nbsp;directory<br>
&nbsp;<br>
Arguments:<br>
remotedir&nbsp;--&nbsp;remote&nbsp;directory&nbsp;to&nbsp;remove</tt></dd></dl>

<dl><dt><a name="IrisSFTP-size"><strong>size</strong></a>(self, remotefile)</dt><dd><tt>Get&nbsp;filesize&nbsp;of&nbsp;remotefile.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;file&nbsp;on&nbsp;the&nbsp;server&nbsp;to&nbsp;check&nbsp;size&nbsp;of</tt></dd></dl>

<dl><dt><a name="IrisSFTP-time"><strong>time</strong></a>(self, remotefile)</dt><dd><tt>Get&nbsp;creation&nbsp;time&nbsp;of&nbsp;remotefile&nbsp;in&nbsp;seconds&nbsp;since&nbsp;Epoch.<br>
&nbsp;<br>
Arguments:<br>
remotefile&nbsp;--&nbsp;remotefile&nbsp;to&nbsp;get&nbsp;creation&nbsp;time&nbsp;of</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>COUNT</strong> = 1</dl>

<dl><dt><strong>DATE</strong> = 6</dl>

<dl><dt><strong>GROUP</strong> = 3</dl>

<dl><dt><strong>MODE</strong> = 0</dl>

<dl><dt><strong>MONTH</strong> = 5</dl>

<dl><dt><strong>NAME</strong> = 8</dl>

<dl><dt><strong>OWNER</strong> = 2</dl>

<dl><dt><strong>SIZE</strong> = 4</dl>

<dl><dt><strong>TIME</strong> = 7</dl>

<dl><dt><strong>connected</strong> = False</dl>

<dl><dt><strong>dirlist</strong> = []</dl>

<dl><dt><strong>host</strong> = None</dl>

<dl><dt><strong>password</strong> = None</dl>

<dl><dt><strong>port</strong> = 22</dl>

<dl><dt><strong>transport</strong> = None</dl>

<dl><dt><strong>username</strong> = None</dl>

<dl><dt><strong>verbose</strong> = None</dl>

<dl><dt><strong>welcome</strong> = None</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="NoConnectionException">class <strong>NoConnectionException</strong></a>(<a href="ftp.html#IrisFTPException">IrisFTPException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>No&nbsp;connection&nbsp;present.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="ftp.html#NoConnectionException">NoConnectionException</a></dd>
<dd><a href="ftp.html#IrisFTPException">IrisFTPException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NoConnectionException-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<hr>
Methods inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><a name="NoConnectionException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#NoConnectionException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="NoConnectionException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoConnectionException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="NoConnectionException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NoConnectionException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="NoConnectionException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#NoConnectionException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="NoConnectionException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="NoConnectionException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoConnectionException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="NoConnectionException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoConnectionException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="NoConnectionException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="NoFileException">class <strong>NoFileException</strong></a>(<a href="ftp.html#IrisFTPException">IrisFTPException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>No&nbsp;file&nbsp;found.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="ftp.html#NoFileException">NoFileException</a></dd>
<dd><a href="ftp.html#IrisFTPException">IrisFTPException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NoFileException-__init__"><strong>__init__</strong></a>(self, msg)</dt></dl>

<hr>
Methods inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><a name="NoFileException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="ftp.html#IrisFTPException">IrisFTPException</a>:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x6cb86ab0&gt;<dd><tt>T.<a href="#NoFileException-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="NoFileException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoFileException-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="NoFileException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NoFileException-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="NoFileException-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#NoFileException-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="NoFileException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="NoFileException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoFileException-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="NoFileException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NoFileException-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="NoFileException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>